﻿//------------------------------------------------------------------------------
//  Namespace: FVEcharts
//  
//  Function： N/A
//  Name： PieBase
//  
//  Ver       Time                     Author
//  0.10      2023/3/6 11:11:00                   Benedict Deng
//
//  Description:
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Media;
using System.Windows.Shapes;

namespace FVEcharts
{
    internal class PieContext
    {
        public string SerieName { get; set; }

        public string Name { get; set; }

        public Brush Color { get; set; }

        public double Value { get; set; }

        public double Sum { get; set; }

        public double Radius { get; set; }

        public Tooltip Tooltip { get; set; }

        /// <summary>
        /// 扇形角度
        /// </summary>
        public double Angle { get; set; }

        /// <summary>
        /// 圆弧
        /// </summary>
        public ArcSegment ArcSegment { get; set; }

        public LineSegment LineSegmentStar { get; set; }

        public LineSegment LineSegmentEnd { get; set; }

        /// <summary>
        /// 圆弧起点
        /// </summary>
        public Point StarPoint { get; set; }

        /// <summary>
        /// 圆弧终点
        /// </summary>
        public Point EndPoint { get; set; }

        /// <summary>
        /// 中心点（圆弧顶点）
        /// </summary>
        public Point CenterPoint { get; set; }

        /// <summary>
        /// 折线
        /// </summary>
        public Polyline Line { get; set; }

        /// <summary>
        /// 折线终点
        /// </summary>
        public Point PolylineEndPoint { get; set; }

        /// <summary>
        /// 文字
        /// </summary>
        public Path TextPath { get; set; }
    }
}
